Optimal. Leaf size=52 \[ \frac {(c x)^{n+1} \left (a+b x^n\right )^{p+1} \, _2F_1\left (1,p+\frac {1}{n}+2;2+\frac {1}{n};-\frac {b x^n}{a}\right )}{a c (n+1)} \]
[Out]
________________________________________________________________________________________
Rubi [A] time = 0.02, antiderivative size = 62, normalized size of antiderivative = 1.19, number of steps used = 2, number of rules used = 2, integrand size = 15, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.133, Rules used = {365, 364} \[ \frac {(c x)^{n+1} \left (a+b x^n\right )^p \left (\frac {b x^n}{a}+1\right )^{-p} \, _2F_1\left (1+\frac {1}{n},-p;2+\frac {1}{n};-\frac {b x^n}{a}\right )}{c (n+1)} \]
Antiderivative was successfully verified.
[In]
[Out]
Rule 364
Rule 365
Rubi steps
\begin {align*} \int (c x)^n \left (a+b x^n\right )^p \, dx &=\left (\left (a+b x^n\right )^p \left (1+\frac {b x^n}{a}\right )^{-p}\right ) \int (c x)^n \left (1+\frac {b x^n}{a}\right )^p \, dx\\ &=\frac {(c x)^{1+n} \left (a+b x^n\right )^p \left (1+\frac {b x^n}{a}\right )^{-p} \, _2F_1\left (1+\frac {1}{n},-p;2+\frac {1}{n};-\frac {b x^n}{a}\right )}{c (1+n)}\\ \end {align*}
________________________________________________________________________________________
Mathematica [A] time = 0.01, size = 58, normalized size = 1.12 \[ \frac {x (c x)^n \left (a+b x^n\right )^p \left (\frac {b x^n}{a}+1\right )^{-p} \, _2F_1\left (1+\frac {1}{n},-p;2+\frac {1}{n};-\frac {b x^n}{a}\right )}{n+1} \]
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
fricas [F] time = 0.66, size = 0, normalized size = 0.00 \[ {\rm integral}\left ({\left (b x^{n} + a\right )}^{p} \left (c x\right )^{n}, x\right ) \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
giac [F(-2)] time = 0.00, size = 0, normalized size = 0.00 \[ \text {Exception raised: TypeError} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maple [F] time = 0.22, size = 0, normalized size = 0.00 \[ \int \left (c x \right )^{n} \left (b \,x^{n}+a \right )^{p}\, dx \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maxima [F] time = 0.00, size = 0, normalized size = 0.00 \[ \int {\left (b x^{n} + a\right )}^{p} \left (c x\right )^{n}\,{d x} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
mupad [F] time = 0.00, size = -1, normalized size = -0.02 \[ \int {\left (c\,x\right )}^n\,{\left (a+b\,x^n\right )}^p \,d x \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
sympy [C] time = 7.32, size = 48, normalized size = 0.92 \[ \frac {a^{p} c^{n} x x^{n} \Gamma \left (1 + \frac {1}{n}\right ) {{}_{2}F_{1}\left (\begin {matrix} - p, 1 + \frac {1}{n} \\ 2 + \frac {1}{n} \end {matrix}\middle | {\frac {b x^{n} e^{i \pi }}{a}} \right )}}{n \Gamma \left (2 + \frac {1}{n}\right )} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________